package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ProductPageDTO extends CommonPage {
    @Schema(description = "商品名称关键字")
    private String name;

    @Schema(description = "状态（0=inactive,1=active）")
    private Integer status;

    @Schema(description = "门店ID")
    private Integer storeId;

    @Schema(description = "分类ID")
    private Integer categoryId;

    @Schema(description = "SPU ID")
    private Integer spuId;

    @Schema(description = "最低价格")
    private Integer minPrice;

    @Schema(description = "最高价格")
    private Integer maxPrice;

    @Schema(description = "排序字段")
    private String sortBy;

    @Schema(description = "排序方式(asc/desc)")
    private String sortOrder;
}
